#pragma once
#include "FrameProperty.hpp"
namespace Moduels::FramesIO
{
    class ImageReader {
    protected:
        std::string Path;
        FrameProperty Format;
        int Index=1;
        int NumberofPicture=0;
        cv::Mat OriginPicture;
    public:
        ImageReader(FrameProperty format)
            :Format(format)
        {
            Path=Format.Root;
            Init();
        }
        void Init();

        cv::Mat GetCurrentPicture();
    };
}


